package infra;

import business.AbstractDocument;
import java.io.IOException;

/**
 *
 * @author jordan
 */
public interface InterfaceDocumentDAO
{

    public boolean createDocument(AbstractDocument document, String subPath) throws IOException;

    public AbstractDocument retrieveDocument(String title, String subPath) throws IOException;

    public boolean updateDocument(AbstractDocument updatedDoc, String title, String subPath) throws IOException;

    public boolean deleteDocument(AbstractDocument doc, String subPath);

}
